/*
 * DAC.h
 *
 * Created: 29.10.2012 14:01:56
 *  Author: bardbakk
 */ 

/*!
 * @header		DAC.h
 * @discussion	This file contains all declarations for the digital/analog converter.
*/		

#ifndef DAC_H_
#define DAC_H_


/*!
 * @function	DAC_init
 * @discussion	Initializes the DAC.  
 * @result		None.
 */	
void DAC_init();


/*!
 * @function	DAC_write
 * @discussion	Ouputs an analog voltage value. 
 * @param		val			The desired value, 0->0V 255->5V.
 * @result		None.
 */	
void DAC_write(int val);


#endif /* DAC_H_ */